/*
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.aliyuncs.dypnsapi.model.v20170525;

import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.dypnsapi.transform.v20170525.QueryGateVerifyStatisticPublicResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

/**
 * @author auto create
 * @version 
 */
public class QueryGateVerifyStatisticPublicResponse extends AcsResponse {

	private String code;

	private String message;

	private String requestId;

	private Data data;

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMessage() {
		return this.message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getRequestId() {
		return this.requestId;
	}

	public void setRequestId(String requestId) {
		this.requestId = requestId;
	}

	public Data getData() {
		return this.data;
	}

	public void setData(Data data) {
		this.data = data;
	}

	public static class Data {

		private Long totalFail;

		private Long total;

		private Long totalSuccess;

		private Long totalUnknown;

		private List<DayStatisticItem> dayStatistic;

		public Long getTotalFail() {
			return this.totalFail;
		}

		public void setTotalFail(Long totalFail) {
			this.totalFail = totalFail;
		}

		public Long getTotal() {
			return this.total;
		}

		public void setTotal(Long total) {
			this.total = total;
		}

		public Long getTotalSuccess() {
			return this.totalSuccess;
		}

		public void setTotalSuccess(Long totalSuccess) {
			this.totalSuccess = totalSuccess;
		}

		public Long getTotalUnknown() {
			return this.totalUnknown;
		}

		public void setTotalUnknown(Long totalUnknown) {
			this.totalUnknown = totalUnknown;
		}

		public List<DayStatisticItem> getDayStatistic() {
			return this.dayStatistic;
		}

		public void setDayStatistic(List<DayStatisticItem> dayStatistic) {
			this.dayStatistic = dayStatistic;
		}

		public static class DayStatisticItem {

			private String statisticDateStr;

			private Long totalSuccess;

			private Long totalFail;

			private Long totalUnknown;

			public String getStatisticDateStr() {
				return this.statisticDateStr;
			}

			public void setStatisticDateStr(String statisticDateStr) {
				this.statisticDateStr = statisticDateStr;
			}

			public Long getTotalSuccess() {
				return this.totalSuccess;
			}

			public void setTotalSuccess(Long totalSuccess) {
				this.totalSuccess = totalSuccess;
			}

			public Long getTotalFail() {
				return this.totalFail;
			}

			public void setTotalFail(Long totalFail) {
				this.totalFail = totalFail;
			}

			public Long getTotalUnknown() {
				return this.totalUnknown;
			}

			public void setTotalUnknown(Long totalUnknown) {
				this.totalUnknown = totalUnknown;
			}
		}
	}

	@Override
	public QueryGateVerifyStatisticPublicResponse getInstance(UnmarshallerContext context) {
		return	QueryGateVerifyStatisticPublicResponseUnmarshaller.unmarshall(this, context);
	}

	@Override
	public boolean checkShowJsonItemName() {
		return false;
	}
}
